﻿@{
    Layout = "~/Views/Shared/_Default.cshtml";
}

@section Breadcrumb
{
    <span class="separator">/</span>
    <a href="@Url.Action(Loc.Act("Index").Ctrl("Forum").Localized())">@T(Res.In("WebPortal").Of("Navigation").Name("Forum"))</a>
    @RenderSection("Breadcrumb", false)
}
@section Toolbar
{
    @RenderSection("Toolbar", false)
}
@RenderBody()
@section Sidebar
{
    @RenderSection("Sidebar", false)
    <div class="box">
        <header>
            <h3>@T(Res.Name("Topics"))</h3>
        </header>
        <section>
        @{
            Html.RenderAction(Loc.Act("_Latest").Ctrl("Topic").Localized());
        }
        </section>
    </div>
    <div class="box">
        <header>
            <h3>@T(Res.Name("Popular"), 3)</h3>
        </header>
        <section>
        @{
            Html.RenderAction(Loc.Act("_Popular").Ctrl("Topic").Set(new
            {
                days = 3
            }).Localized());
        }
        </section>
    </div>
}